<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chome=1" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="format-detection" content="telephone=no,email=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-status-bar-style" content="normal|black|black-translucent">
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />
		<script src="../js/angular.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/angular-route.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		<title></title>
	</head>

	<body ng-app="myapp" ng-controller="shouye">
		<section ng-view>
			
		</section>
		<footer>
			<ul>
				<li class="active1">
					<a href="#!/a">
						首页
					</a>
				</li>
				<li>
					<a href="#!/b">
						购物车（{{shuliang}}）
					</a>
				</li>
			</ul>
		</footer>
	</body>
	<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		
		$('footer a').click(function(){
			$(this).parent().siblings().removeClass('active1')
			$(this).parent().addClass('active1');
		})
	</script>
</html>